package com.lixl.demo01service;

import java.util.HashMap;
import java.util.Map;
import java.util.Random;

import com.lixl.demo01interface.UserService;

public class UserServiceImpl implements UserService {

	public String getUserName(String id) {

		//return "id:" + id;
		return "rename id:" + id;
	}

	public Map<String, Object> getUser(String id) {
		Map<String, Object> map = new HashMap<String, Object>();
		map.put("id", id);
		map.put("name", new Random().nextInt());
		return map;
	}

}
